home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine CD 1995 / Archive Magazine CD 1995.iso / discs / prog_disc / volume_3 / issue03 / extras / 1wp / deskjet_ / djplushex < prev    next >
Encoding:
Text File  |  1989-12-11  |  7.1 KB  |  153 lines

  1. *    0060.7 GST 286/0.00
  2. *
  3. *****************************************************************
  4. *                                                               *
  5. *                                                               *
  6. *                                                               *
  7. *         HEWLETT PACKARD DESKJET PRINTER CONFIGURATION         *
  8. *         =============================================         *
  9. *                                                               *
  10. *                                                               *
  11. *    This file contains configuration details for the printer   *
  12. *    described below.  To modify the printer configuration,     *
  13. *    you must:                                                  *
  14. *                                                               *
  15. *    (a)  Read the chapter PRINTER CONFIGURATION in your User   *
  16. *         Manual - THOROUGHLY!                                  *
  17. *                                                               *
  18. *    (b)  Edit this file using 1st Word Plus to make the        *
  19. *         required changes (all values are HEXADECIMAL).        *
  20. *                                                               *
  21. *    (c)  Run the 1PR program to install the new driver.        *
  22. *                                                               *
  23. *    Consult your User Manual for details of how to load your   *
  24. *    custom driver from the 1st Word Plus desktop, and how to   *
  25. *    make it your default printer.                              *
  26. *                                                               *
  27. *    Copyright (C) 1986, 1987, 1988, GST Holdings Ltd           *
  28. *    Alterations for Deskjet Plus (Latin 1 Char set)            *
  29. *****************************************************************
  30.  
  31.  
  32. *    Printer name
  33. *    ============
  34. *
  35. *    For display above the font table on the
  36. *    1st Word Plus desktop (max 32 characters) 
  37.  
  38.  
  39. Hewlett-Packard Deskjet Plus DS
  40.  
  41.  
  42. *    Configuration variables
  43. *    =======================
  44. *
  45. *    These six variables define certain printer
  46. *    configuration details required by 1st Word Plus:
  47. *
  48. *    (1)  1 for microspacing daisywheel, else 0
  49. *    (2)  Character width in printer units (daisy)
  50. *    (3)  Linefeed height in printer units
  51. *    (4)  Mid-carriage (daisy) pixels/inch (matrix)
  52. *    (5)  Bold offset in printer units (daisy)
  53. *    (6)  1 to pause printing between pages, else 0
  54.  
  55.  
  56. 0, 0, 1, 64, 0, 0
  57.  
  58.  
  59. *    Printer characteristics
  60. *    =======================
  61. *
  62. *    This table defines values to be sent to the
  63. *    printer by 1st Word Plus to control its operation.
  64. *
  65. *    An entry consists of:
  66. *
  67. *    (1)  Function number (these must be kept in order)
  68. *    (2)  Command bytes (hex commands and placeholders)
  69. *
  70. *    A placeholder has the top bit set and is substituted
  71. *    by an actual value by 1st Word Plus when printing.
  72. *
  73. *    Lines preceded by an asterisk are commented out.
  74.  
  75.  
  76. * 0                                 * Character width
  77. 1,  A ,D                            * Carriage return and line feed
  78. * 2                                 * Forward print
  79. * 3                                 * Reverse print
  80. * 4                                 * Vertical tab to line
  81. * 5                                 * Absolute horizontal tab 
  82. 6,1B,28,73,33,42                    * Draft bold on
  83. 7,1B,28,73,30,42                    * Draft bold off
  84. 8,1B,28,73,33,42                    * NLQ bold on
  85. 9,1B,28,73,30,42                    * NLQ bold off
  86. A,1B,28,73,31,53                    * Draft italic on
  87. B,1B,28,73,30,53                    * Draft italic off
  88. C,1B,28,73,31,53                    * NLQ italic on
  89. D,1B,28,73,30,53                    * NLQ italic off
  90. * E                                 * Draft light on
  91. * F                                 * Draft light off
  92. 10,1B,28,73,31,51                   * NLQ light on
  93. 11,1B,28,73,32,51                   * NLQ light off
  94. 12,1B,28,73,36,56,1B,28,73,2B,31,55 * Draft superscript on
  95. 13,1B,28,73,31,32,56,1B,28,73,30,55 * Draft superscript off
  96. 14,1B,28,73,36,56,1B,28,73,2B,31,55 * NLQ superscript on
  97. 15,1B,28,73,31,32,56,1B,28,73,30,55 * NLQ superscript off
  98. 16,1B,28,73,36,56,1B,28,73,2D,31,55 * Draft subscript on
  99. 17,1B,28,73,31,32,56,1B,28,73,30,55 * Draft subscript off
  100. 18,1B,28,73,36,56,1B,28,73,2D,31,55 * NLQ subscript on
  101. 19,1B,28,73,31,32,56,1B,28,73,30,55 * NLQ subscript off
  102. 1A,1B,26,64,31,44                   * Draft underline on
  103. 1B,1B,26,64,40                      * Draft underline off
  104. 1C,1B,26,64,31,44                   * NLQ underline on
  105. 1D,1B,26,64,40                      * NLQ underline off
  106. * 1E,  C                            * Formfeed
  107. 1F,1B,45,1B,28,73,31,51             * Horizontal initialization (Draft Courier)
  108. 20,1B,26,6C,30,4C,1B,26,6C,37,30,50 * Vertical initialization (Perf skip off, 70 lines/page)
  109. 21,1B,45                            * Termination: printer reset
  110. 22, 8                               * Backspace
  111. 23, D                               * Carriage return
  112. 24,1B,26,6C,36,64,50                * Form length in lines
  113. 25,1B,2A,72,42,1B,2A,74,31,30,30,52,1B,2A,72,30,41 * Reset graphics, set 100 pixels/in, start at left.
  114. 26,1B,2A,62,81,81,57                * Start graphics 
  115. * 27                                * Reserved
  116. 28,1B,28,73,31,51,1B,28,73,31,30,48 * Draft Courier   (10    cpi)
  117. 29,1B,28,73,32,51,1B,28,73,31,30,48 * NLQ   Courier   (10    cpi)
  118. 2A,1B,28,73,31,51,1B,28,73,32,30,48 * Draft Courier   (20    cpi)
  119. 2B,1B,28,73,32,51,1B,28,73,32,30,48 * NLQ   Courier   (20    cpi)
  120. 2C,1B,28,73,31,51,1B,28,73,31,36,48 * Draft Condensed (16.67 cpi)
  121. 2D,1B,28,73,32,51,1B,28,73,31,36,48 * NLQ   Condensed (16.67 cpi)
  122. 2E,1B,28,73,31,51,1B,28,73,35,48    * Draft Expanded  ( 5    cpi)
  123. 2F,1B,28,73,32,51,1B,28,73,35,48    * NLQ   Expanded  ( 5    cpi)
  124. * 30                                * Black   ink
  125. * 31                                * Magenta ink
  126. * 32                                * Cyan    ink
  127. * 33                                * Yellow  ink
  128. 0                                   * NULL termination byte
  129.  
  130.  
  131. *    Translation Table
  132. *    =================
  133. *
  134. *    This table is used to translate the Archimedes
  135. *    character codes for output to the printer.
  136. *
  137. *    Each entry consists of:
  138. *
  139. *    (1)  Archimedes character code (these must be in order)
  140. *    (2)  The (possibly null) byte string to be output
  141. *
  142. *    Archimedes character codes with a NULL translation
  143. *    string are printed as spaces.
  144. *
  145. *    Archimedes character codes NOT in the table are sent
  146. *    directly to the printer without translation.
  147.  
  148.  
  149.  
  150. A0,20 * non break space
  151. 0     * NULL terminator
  152.  
  153.